package com.ys.constant;

import java.util.HashMap;
import java.util.Map;

public class AppConstant {
	
	public static String DATABASE_NAME = "ys_web"; // TODO 数据库名称，新项目需要改动
	
	public static String URL_GRID = "/api/inter/RP_NAME/search"; // 表格数据请求路径
	public static String NAME_SHIRO_AUTH = "RP_NAME:view"; // shiro授权路径
	
	public static String AES_KEY = "zjpdifaejeiao3j9"; // AES秘钥
	
	public static String RMB = "¥";
	
	// 月份MAP，用于格式转换
	public static Map<String, Integer> monthMap = new HashMap<String, Integer>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;

		{
			put("Jan.", 1);
			put("Feb.", 2);
			put("Mar.", 3);
			put("April", 4);
			put("May", 5);
			put("Jun.", 6);
			put("July", 7);
			put("Aug.", 8);
			put("Sept.", 9);
			put("Oct.", 10);
			put("Nov.", 11);
			put("Dec.", 12);
		};
	};
	
	public static Long ID_1001 = 1001L;
	
	public static Long ID_1002 = 1002L;
	
	public static Long ID_1003 = 1003L;
	
	public static Long ID_1004 = 1004L; // 第一基本库百度云配置
	
//	public static Long ID_1005 = 1005L; // 第二基本库百度云配置
	
	public static Long ID_1006 = 1006L; // 上传亚马逊爬虫文件配置
	
	public static Long ID_1007 = 1007L; // 图片进入搜索库的页码配置1
	
	public static Long ID_1008 = 1008L; // 图片进入搜索库的页码配置2
	
	public static Long ID_1009 = 1009L; // 图片进入搜索库的页码配置3
	
	public static Long ID_1010 = 1010L; // 图片进入搜索库的页码配置4
	
	public static Long ID_1011 = 1011L; // 图片进入搜索库的页码配置5
	
	public static Long ID_1012 = 1012L; // 昨日解析竞品数
	
	// 合作者秘钥MAP
	public static Map<String, String> partnerMap = new HashMap<String, String>(){
		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;

		{
			put("PA001", "");
			put("PA002", "");
		};
	};
}
